package mango.orm;

import java.util.List;

import mango.orm.entity.Entity;


public interface SQLMaker {
    public String getLimitSql(String sql, int start, int limit);
    
    public String getCountSql(String sql);

    public String getQuerySql(Entity bean);

    public String getInsertSql(Entity bean);

    public String getUpdateSql(Entity bean);

    public String getDeleteSql(Entity bean);
    
    public int getDaoTypeBySql(String sql);
    
    public String formatSubSql(String sql, List<String> subSql);
}
